﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Truextend.CoffeShop.Model;

namespace Truextend.CoffeShop.Bussiness.Interfaces
{
    public interface IConsumptionManager
    {
        void AddConsumptionByInternalProducts(int productId, Consumption consumption);
        void AddConsumptionByOrder(int detailId, Consumption consumption);
        IList<Consumption> GetAllConsumptionsOfADetail(int detailId);
        Consumption GetConsumptionForDetailAndUserID(int detailId, int userId);
        void DeleteConsumption(Consumption consumption);
    }
}
